package com.kuaidu.ll.quickreadnews.view.fragment;


import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.view.View;

import com.kuaidu.ll.quickreadnews.R;
import com.kuaidu.ll.quickreadnews.base.BaseFragment;
import com.kuaidu.ll.quickreadnews.base.MvpFragment;
import com.kuaidu.ll.quickreadnews.presenter.HomePresenter;
import com.kuaidu.ll.quickreadnews.utils.KDLog;
import com.kuaidu.ll.quickreadnews.view.impl.HomeViewImpl;


/**
 * A simple {@link Fragment} subclass.
 */
public class HomeFragment extends MvpFragment<HomePresenter> implements HomeViewImpl{

    private static final String TAG = HomeFragment.class.getSimpleName();

    @Override
    protected void initView(View view, Bundle saveInstanceState) {
        KDLog.i(TAG,"进入了HomeFragment里面加载视图的方法");
    }

    @Override
    protected void initData(Bundle v) {

    }

    @Override
    protected int getLayoutId() {
        return R.layout.fragment_home;
    }

    @Override
    public HomePresenter initPresenter() {
        return null;
    }

    @Override
    public void onFailed(Exception e) {

    }

    @Override
    public void onFinish() {

    }

    @Override
    public void onSuccess() {

    }
}
